<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>模型管理</title>
        <link href="style/default.css" rel="stylesheet" type="text/css" />
        <link href="style/ui.all.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="./javascript/jquery.js">
        </script>
        <script type="text/javascript" src="./javascript/javascript.js">
        </script>
        <script type="text/javascript" src="./javascript/core.js">
        </script>
        <script type="text/javascript" src="./javascript/widget.js">
        </script>
        <script type="text/javascript" src="./javascript/datepicker.js">
        </script>
        <script type="text/javascript" src="./javascript/datepicker-zh-CN.js">
        </script>
        <script>
        </script>
    </head>
    <body>
        <!--{include nav.html}-->
        <div id="main">
            <div style="float:left;">
                <table class="list">
                    <tr>
                        <th class="sort" name="title">
                            模型名
                        </th>
                        <th class="sort" name="cat_name">
                            栏目名
                        </th>
                        <th class="sort" name="top">
                            置顶
                        </th>
                        <th class="sort" name="commend">
                            推荐
                        </th>
                        <th class="sort" name="post_time">
                            发表时间
                        </th>
                        <th class="sort" name="status">
                            状态
                        </th>
                        <th class="but">
                            <a href="{$url}&amp;m=add"><img src="images/new.gif"></a>
                        </th>
                    </tr>
                    <form method="post" name="filter">
                        <tr>
                            <td>
                                <input type="text" name="title" class="middle" value="{$_GET['title']}"><!--{Html_getSelect_lib:array('-1'=>'全部','yes'=>'有图片','no'=>'没图片'),$_GET['title_pic'],array('name'=>'title_pic')}-->
                            </td>
                            <td>
                            	<!--{Html_getSelect_lib:$select,$_GET['cat_id'],array('name'=>'cat_id'), array(0=>'全部')}-->
                            </td>
                            <td>
                                <!--{Html_getSelect_lib:array('-1'=>'全部',0=>'不置顶',1=>'置顶1',2=>'置顶2',3=>'置顶3'),$_GET['top'],array('name'=>'top')}-->
                            </td>
                            <td>
                                <!--{Html_getSelect_lib:array('-1'=>'全部',0=>'不推荐',1=>'推荐1',2=>'推荐2',3=>'推荐3'),$_GET['commend'],array('name'=>'commend')}-->
                            </td>
                            <td>
                                <input type="text" name="post_time" class="filter" style="width:70px;" value="{$_GET['post_time']}">
                            </td>
                            <td>
                                <!--{Html_getSelect_lib:array(''=>'全部','active'=>'正常','close'=>'关闭'),$_GET['status'],array('name'=>'status')}-->
                            </td>
                            <td align="center">
                                <input type="hidden" name="sort" value="{$_GET['sort']}"><input type="submit" name="filter" value="过滤">
                            </td>
                        </tr>
                    </form><!--{foreach $list $row}-->
                    <tr id="list_{$row['id']}" {if $row['id']==$_GET['id']}class="selected"{/if}>
                        <td nowrap>
							<!--{$row['show_title']}-->
							<!--{if $row['title_pic']=='yes'}--><img src="images/image.gif" /><!--{/if}-->
							<!--{if $row['attach']>0}--><img src="images/attach.gif" /><!--{/if}-->
							<!--{if $row['media']>0}--><img src="images/media.gif" /><!--{/if}-->
						</td>
						<td>
							<!--{$row['cat_name']}-->
						</td>
						<td>
							<!--{$row['top_value']}-->
						</td>
						<td>
							<!--{$row['commend_value']}-->
						</td>
						<td>
							<!--{echo date('Y-m-d H:i:s', $row['post_time'])}-->
						</td>
						<td align="center">
							<!--{$row['status_value']}-->
						</td>
                        <td class="but" align="center">
                            <a href="{$row['url']}" target="_blank"><img src="images/view.gif"></a>
                            <a href="{$url}&m=edit&id={$row['id']}"><img src="images/edit.gif"></a>
							{if $row['is_sigle']=='no'}<a href="{$url}&m=del&id={$row['id']}" onclick="return delConfirm()"><img src="images/delete.gif"></a>{/if}
                        </td>
                    </tr><!--{/foreach}-->
                </table>
				<div>{$mulitpage}</div>
            </div>
        </div>
    </body>
</html>